package main

import "fmt"

func calc(price float64, no float64) (float64, float64) {
	var totalPrice = price * no
	var totalPriceData = price * no * 2
	return totalPrice, totalPriceData
}

func main() {
	//demo1:
	// a := true
	// b := false
	// fmt.Println("a:", a, "b:", b)
	// c := a && b
	// fmt.Println("c:", c)

	// d := a || b
	// fmt.Println("d:", d)

	//demo2:
	totalPrice, totalPriceData := calc(100.5, 10)
	fmt.Printf("Total price is %f  totalPriceData is %f ", totalPrice, totalPriceData)
}
